package com.spring.component.exception;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class BaseException extends RuntimeException {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	protected ExceptionType type;

	protected BaseException() {
		super();
	}

	protected BaseException(String message) {
		super(message);
	}

	public enum ExceptionType {
		INFO, WARNING, ERROR
	}
}
